package com.jic.market.request.rest.groupon;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author xuyongliang
 * @version V1.0
 * @className LaunchOrJoinGrouponRequest
 * @description TODO
 * @date 2020/4/13
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "开参团校验H5请求类")
public class LaunchOrJoinGrouponRequest implements Serializable {

    private static final long serialVersionUID = -9143772109233168171L;

    @ApiModelProperty(notes = "拼团活动编号")
    private String groupCode;

    @ApiModelProperty("商品id")
    private Long mpId;

    @ApiModelProperty(notes = "第三方商品编码")
    private String thirdProductCode;

    @ApiModelProperty(notes = "活动实例编码")
    private String grouponInstCode;

    @ApiModelProperty(notes = "开参团flag  1 开团，0 参团")
    private Integer launchFlag;

    @ApiModelProperty(notes = "第三方用户id")
    private String thirdUserId;

    @ApiModelProperty(notes = "第三方订单编码")
    private String thirdOrderCode;

    @ApiModelProperty(notes = "购买数量")
    private Long buyNum;

}
